package com.h2cloud.sort;

/**
 * @Package: com.h2cloud.sort
 * @ClassName: getArray
 * @Author: h2cloud
 * @CreateTime: 2021/4/15 10:15 下午
 * @Description:
 */
public class myArray {
    public static int[] get(int num) {
        int[] arr = new int[num];  //产生随机数组
        int Num = num * 4;
        for (int i = 0; i < num; i++) {
            int j = (int) (Math.random() * Num);
            arr[i] = j;
        }
        return arr;
    }
}
